package com.qf.mapper;

import com.qf.entity.Shop;
import com.qf.entity.ShopExample;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopMapper {

    /**
     *
     * 根据shopLogin和shopPwd查询shop
     *
     * @param shopLogin shop实体类中的shopLogin属性
     * @param shopPwd shop实体类中的shopPwd属性
     * @return
     */
    Shop selectShop(@Param("shopLogin") String shopLogin, @Param("shopPwd") String shopPwd);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    long countByExample(ShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int deleteByExample(ShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int deleteByPrimaryKey(Integer shopId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int insert(Shop record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int insertSelective(Shop record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    List<Shop> selectByExampleWithBLOBs(ShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    List<Shop> selectByExample(ShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    Shop selectByPrimaryKey(Integer shopId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int updateByExampleSelective(@Param("record") Shop record, @Param("example") ShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int updateByExampleWithBLOBs(@Param("record") Shop record, @Param("example") ShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int updateByExample(@Param("record") Shop record, @Param("example") ShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int updateByPrimaryKeySelective(Shop record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int updateByPrimaryKeyWithBLOBs(Shop record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shop
     *
     * @mbg.generated Tue Jul 28 13:58:33 CST 2020
     */
    int updateByPrimaryKey(Shop record);
}